package com.ruoyi.zhhq.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 餐厅订单对象 zhhq_canteenorder
 * 
 * @author ZLC
 * @date 2022-10-26
 */
public class ZhhqCanteenorder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单id */
    @Excel(name = "订单编号")
    private String orderId;

    /** 用餐时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "用餐时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date mealTime;

    /** 餐厅 */
    @Excel(name = "餐厅",targetAttr = "restauranName")
    private Cantee zhhqCantee;
    

    /** 状态 */
    @Excel(name = "审核状态", readConverterExp = "0=审核通过,1=待审核,3=审核不通过")
    private String status;
    
    private String restauranId;
    
    private String createBy;
    public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public Cantee getZhhqCantee() {
		return zhhqCantee;
	}

	public void setZhhqCantee(Cantee zhhqCantee) {
		this.zhhqCantee = zhhqCantee;
	}

	public void setOrderId(String orderId) 
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }
    public void setMealTime(Date mealTime) 
    {
        this.mealTime = mealTime;
    }

    public Date getMealTime() 
    {
        return mealTime;
    }
    public void setRestauranId(String restauranId) 
    {
        this.restauranId = restauranId;
    }

    public String getRestauranId() 
    {
        return restauranId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

	@Override
	public String toString() {
		return "ZhhqCanteenorder [orderId=" + orderId + ", mealTime=" + mealTime + ", restauranId=" + restauranId
				+ ", status=" + status + ", zhhqCantee=" + zhhqCantee + ", createBy=" + createBy + "]";
	}

}
